/**
 * 
 */
package org.t2.backstage.module.recharge.service;

import java.util.List;

import org.banish.sql.core.util.QuerySet;
import org.gaming.backstage.PageData;
import org.gaming.service.service.AbstractService;
import org.springframework.stereotype.Service;
import org.t2.backstage.module.recharge.model.RechargeVirtual;

/**
 * @author YY
 *
 */
@Service
public class RechargeVirtualService extends AbstractService<RechargeVirtual> {

	public PageData<RechargeVirtual> query(QuerySet querySet) {
		List<RechargeVirtual> list = this.repository().getBaseDao().queryListWhere(querySet.getWhere(), querySet.getParams());
		
		PageData<RechargeVirtual> pageData = new PageData<>();
		pageData.setCount(this.repository().getBaseDao().countWhere(querySet.getCountWhere(), querySet.getCountParams()));
		pageData.setData(list);
		return pageData;
	}

	@Override
	public void mergeServer(int mergeDbZoneId) {
		//不必理会
	}
}
